<template>
  <div>
    <div class="nav-raduis">
      <div class="row" v-for="(item, index) in buttonTops" :key="index">
        <img :src="item.pictureUrl" alt />
        <span>{{item.title}}</span>
      </div>
    </div>
    <div class="ad-banner">
      <!-- 广告图 -->
      <img :src="bannerImg.pictureUrl" alt />
    </div>
    <div class="activity-list">
      <div class="ac-item" v-for="(item, index) in activitylist" :key="index">
        <img :src="item.pictureUrl" alt />
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "middeContent",
  props: {
    buttonTops: Array,
    bannerImg: Object,
    activitylist: Array
  },
  data() {
    return {};
  }
};
</script>
<style scoped>
.nav-raduis {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
}
.row{
    text-align: center;
}
.row img {
  width: 50px;
  height: 50%px;
}
.row span {
  display: block;
  font-size: 12px;
}
.ad-banner {
  margin-top: 20px;
  text-align: center;
}
.ad-banner img {
  width: 100%;
  height: 120px;
}
.activity-list {
  width: 100%;
  display: flex;
  justify-content:space-around;
  align-items: center;
  margin-top: 10px;
}

.ac-item img{
    width: 180px;
    height: 80px;
}
</style>